package com.zelix;

import java.util.Vector;

public abstract class cj extends ui
{

    protected Vector j;
    private static String z[];

    public cj(int i)
    {
        super(i);
        j = new Vector();
    }

    public final void a(uh uh, nh nh1)
    {
        int i;
        int k;
        int l;
        int i1;
        int j1;
        j1 = si.g;
        i = g();
        k = nh1.x();
        l = nh1.h();
        i1 = 0;
        if(j1 == 0) goto _L2; else goto _L1
_L1:
        uh uh1 = a(i1);
        if(uh1 instanceof cm)
        {
            cm cm1 = (cm)uh1;
            String s = cm1.d();
            if(j.contains(s))
            {
                nh1.e("\"" + s + z[1] + a() + z[3] + d() + z[5]);
                if(j1 == 0)
                    continue;
            }
            j.addElement(s);
            if(j1 == 0)
                continue;
        }
        nh1.a(getClass().getName() + z[0] + uh1.getClass().getName() + z[2] + i1 + z[4] + d() + ".");
        i1++;
_L2:
        if(i1 >= i)
        {
            b(nh1, k, l);
            a(nh1, k, l);
            return;
        }
        if(true) goto _L1; else goto _L3
_L3:
    }

    private static String z(char[] chs) {
        byte key = 0;
        for (int i = 0; i < chs.length; i++) {
            switch (i % 5) {
                case 0:
                    key =92;
                    break;
                case 1:
                    key =32;
                    break;
                case 2:
                    key =31;
                    break;
                case 3:
                    key =107;
                    break;
                case 4:
                    key =1;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static
    {
        String as[] = new String[6];
        as[0] = "|H~\017!";
        as[1] = "~\000~\033q9Am\030!1Om\016!(H~\005!3N|\016!5N?I";
        as[2] = "|AlKb4Is\017!";
        as[3] = "~\000l\037`(Er\016o(\000~\037!0Iq\016!";
        as[4] = "|AkKm5NzK";
        as[5] = "r\000Y\002s/T?\004b?Um\031d2CzKv5LsKc9\000j\030d8\016";
        for(int i = 0;i<as.length;i++){
            as[i] = z(as[i].toCharArray());
        }
        z = as;
    }
}